Importing Data via Power BI

You can use the Microsoft Power BI desktop to extract data and import it to Power BI Desktop for manipulation.

Note: Before you can import data via Power BI, you must first enable this feature. See Connecting to the API to extract data

Importing Data via Power BI

To extract data using Power BI.

  1. Launch the Power BI Desktop.
  2. From the Home ribbon, click Get Data. This opens a list of data types/sources.
  3. Select All, scroll down and locate Web and then click Connect.

  1. In the dialog box that appears, select Advanced.

a) In the URL parts, paste the URL part of the HTTP request.

  • Device Meter Data - This is the URL of the HP Insights server where the device meter data can be extracted from. This is typically in the form: https://api.insights.hpondemand.com/ReportApi/Reports/Meters
  • Device Status Data - This is the URL of HP Insights server where device status data can be extracted from. This is typically in the form: https://api.insights.hpondemand.com/ReportApi/Reports/Status
  • Device Toner Data - This is the URL of HP Insights server where device toner data can be extracted from. This is typically in the form: https://api.insights.hpondemand.com/ReportApi/Reports/Toner
  • Print Transactions Data - This is the URL for the HP Insights server where the print transactions data can be extracted from. This is typically in the form:

    https://api.insights.hpondemand.com/ReportApi/Reports/PrintJobs/<YYYY-MM-DD>/<YYYY-MM-DD>

    Example: https://api.insights.hpondemand.com/ReportApi/Reports/PrintJobs/2017-04-01/2017-05-01

  • Monthly Print Data - This is the URL for the HP Insights server where the monthly print data can be extracted from. This is typically in the form: https://api.insights.hpondemand.com/ReportApi/Reports/MonthlyPrintJobs/<YYYY-MM>/<YYYY-MM>

    Example: https://api.insights.hpondemand.com/ReportApi/Reports/MonthlyPrintJobs/2017-04/2017-05

b) Enter the HTTP request header parameters.

  • In the first field, select Authorization from the drop-down list box.
  • In the second field, type in bearer and then paste the Authorization Key.
  1. Click OK. After connecting to the HP Insights server, you will see the extracted data.